package com.mgblog.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * user 实体
 * @author Administrator
 *	
FieldTypeComment
idint(11) NOT NULL
usernamevarchar(255) NULL
passwordvarchar(255) NULL
nicknamevarchar(255) NULL
headvarchar(255) NULL
birthdaydatetime NULL
emailvarchar(255) NULL
addtimedatetime NULL
logincountint(11) NULL
currentlogintimedatetime NULL
 */

public class User {
	private Integer id;
	private String userName;
	private String password;
	private String nickName;
	private String head;
	private Date birthday;
	private String email;
	private Date addTime;
	private Integer loginCount;
	private Date currentLoginTime;
	
	private Set<ArticleSort> articleSortSet = new HashSet<ArticleSort>();
	private Set<Article> articleSet = new HashSet<Article>();
	private Set<Item> itemSet = new HashSet<Item>();
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public Integer getLoginCount() {
		return loginCount;
	}
	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}
	public Date getCurrentLoginTime() {
		return currentLoginTime;
	}
	public void setCurrentLoginTime(Date currentLoginTime) {
		this.currentLoginTime = currentLoginTime;
	}
	public Set<ArticleSort> getArticleSortSet() {
		return articleSortSet;
	}
	public void setArticleSortSet(Set<ArticleSort> articleSortSet) {
		this.articleSortSet = articleSortSet;
	}
	public Set<Article> getArticleSet() {
		return articleSet;
	}
	public void setArticleSet(Set<Article> articleSet) {
		this.articleSet = articleSet;
	}
	public Set<Item> getItemSet() {
		return itemSet;
	}
	public void setItemSet(Set<Item> itemSet) {
		this.itemSet = itemSet;
	}
	
	
	
}
